<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Document</title>
    <script>
        //取消像素比
        (function () {
      var metaEl = document.createElement('meta');
      var scale = devicePixelRatio;
      metaEl.setAttribute('name', 'viewport');
      metaEl.setAttribute('content', 'initial-scale=' + (1/scale) + ', maximum-scale=' + (1/scale) + ', minimum-scale=' + (1/scale) + ', user-scalable=no');
      document.documentElement.firstElementChild.appendChild(metaEl);
        })();
        (()=>{
            //设置根宽度
            document.documentElement.style.fontSize = window.screen.width / 15
        })()
    </script>
    <style>
        #box {
            background-color: aquamarine;
            display: flex;
        }
        #box div {
            width:  6.96rem;
            height: 3.6rem;
            font-size: 0.64rem;
            background-color: blanchedalmond;
            margin: 1rem;
        }
    </style>
</head>
<body>
    <div id="box">
        <div>尖货抽签</div>
        <div>新品日历</div>
    </div>
</body>
</html>